package top.codecrab.cloudalibaba.client;

import org.springframework.stereotype.Component;
import top.codecrab.springcloud.entity.Payment;
import top.codecrab.springcloud.entity.response.Result;

@Component
public class PaymentFallbackClient implements PaymentClient {

    @Override
    public Result paymentSQL(Long id) {
        return new Result(444, "服务降级返回,没有该流水信息", new Payment(id, "errorSerial......"));
    }
}




